package com.coder.baseapp.mvp.ui.fragment;

import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

import com.coder.baseapp.R;
import com.coder.baseapp.injecter.components.FragmentComponent;
import com.coder.baseapp.mvp.base.BaseFragment;
import com.coder.baseapp.mvp.contract.LoginContract;
import com.coder.baseapp.mvp.presenter.LoginPresenter;

import javax.inject.Inject;

import butterknife.BindView;

/**
 * @Author: Tua.CoderGui
 * *
 * @Date: 2017/3/13
 * *
 * Copyright (c) 2017 All Rights Reserved.
 */
public class LoginFragment extends BaseFragment implements LoginContract.View {


    @Inject
    LoginPresenter mLoginPresenter;

    @BindView(R.id.btn_login)
    Button btnLogin;

    @BindView(R.id.tv_show)
    TextView tvShow;

    @Override
    public int getLayoutId() {
        return R.layout.activity_login;
    }

    @Override
    public void initView(Bundle savedInstanceState) {

    }

    @Override
    public void showLoading(boolean enable) {

    }

    @Override
    public void showError(String msg) {

    }

    @Override
    public void showSuccess() {

    }

    @Override
    protected void initInjector(FragmentComponent component) {
        component.inject(this);
    }
}
